home *** CD-ROM | disk | FTP | other *** search
/ PC Basics 53 / PC Basics Issue 53.iso / Software / Internet / Invboard.exe / PC Basics 53 / Invboard / upload / sources / Admin / admin_pages.php < prev    next >
Encoding:
PHP Script  |  2002-06-12  |  3.6 KB  |  95 lines

  1. <?php
  2.  
  3. // Simple library that holds all the links for the admin cp
  4.  
  5. // CAT_ID => array(  PAGE_ID  => (PAGE_NAME, URL ) )
  6.  
  7. // $PAGES[ $cat_id ][$page_id][0] = Page name
  8. // $PAGES[ $cat_id ][$page_id][1] = Url
  9.  
  10.  
  11. $PAGES = array(
  12.  
  13.                 0 => array (
  14.                              1 => array( 'Basic Config', 'act=op&code=url'   ),
  15.                              2 => array( 'Security & Privacy'      , 'act=op&code=secure'  ),
  16.                              3 => array( 'Topics & Posts', 'act=op&code=post'    ),
  17.                              4 => array( 'User Profiles'       , 'act=op&code=avatars' ),
  18.                              5 => array( 'Date Formats'  , 'act=op&code=dates'   ),
  19.                              6 => array( 'CPU Saving'    , 'act=op&code=cpu'     ),
  20.                              7 => array( 'Cookies'       , 'act=op&code=cookie'  ),
  21.                              8 => array( 'PM Set up'       , 'act=op&code=pm'    ),
  22.                              9 => array( 'Board on/off'    , 'act=op&code=board' ),
  23.                              10 =>array( 'News Set-up'    , 'act=op&code=news' ),
  24.                              
  25.                              
  26.                            ),
  27.  
  28.                 1 => array (
  29.                              1 => array( 'New Category'  , 'act=cat&code=new'    ),
  30.                              2 => array( 'New Forum'     , 'act=forum&code=newsp'    ),
  31.                              3 => array( 'Manage'        , 'act=cat&code=edit'   ),
  32.                              4 => array( 'Re-Order Categories' , 'act=cat&code=reorder'),
  33.                              5 => array( 'Re-Order Forums', 'act=forum&code=reorder'),
  34.                              6 => array( 'Moderators'    , 'act=mod'               ),
  35.                            ),
  36.                            
  37.                            
  38.                 3 => array (
  39.                             1 => array ( 'Pre-Register'        , 'act=mem&code=add'  ),
  40.                             2 => array ( 'Edit User'           , 'act=mem&code=edit' ),
  41.                             3 => array ( 'Delete User(s)'      , 'act=mem&code=del'  ),
  42.                             4 => array ( 'Ban Settings'        , 'act=mem&code=ban'  ),
  43.                             5 => array ( 'User Title/Ranks'    , 'act=mem&code=title'),
  44.                             6 => array ( 'Manage User Groups'  , 'act=group'         ),
  45.                             7 => array ( 'Manage Registrations', 'act=mem&code=mod'  ),
  46.                            ),
  47.                            
  48.                 4 => array (
  49.                             1 => array( 'Manage Word Filters', 'act=op&code=bw'    ),
  50.                             2 => array( 'Manage Emoticons', 'act=op&code=emo'   ),
  51.                             3 => array( 'Manage Help Files', 'act=help'         ),
  52.                             4 => array( 'Recount Statistics', 'act=op&code=count'    ),
  53.                             5 => array( 'View Moderator Logs', 'act=modlog'    ),
  54.                            ),
  55.                            
  56.                 5 => array (
  57.                             1 => array( 'Manage Board Wrappers'   , 'act=wrap'                ),
  58.                             2 => array( 'Manage Skin Templates'   , 'act=templ'     ),
  59.                             3 => array( 'Manage Style Sheets'     , 'act=style'               ),
  60.                             4 => array( 'Manage Image&Macros'   , 'act=image'               ),
  61.                             5 => array( '<b>Manage Skin Sets</b>' , 'act=sets'      ),
  62.                             6 => array( 'Import Skin files'       , 'act=import'      ),
  63.                             
  64.                            ),
  65.                            
  66.                 6 => array (
  67.                             1 => array( 'Manage Languages' , 'act=lang'             ),
  68.                             2 => array( 'Import a Language', 'act=lang&code=import' ),
  69.                            ),
  70.                 
  71.                             
  72.                            
  73.                );
  74.                
  75.                
  76. $CATS = array (   
  77.                   0 => "Board Settings",
  78.                   1 => 'Forum Control',
  79.                   3 => 'Users and Groups',
  80.                   4 => 'Administration',
  81.                   5 => 'Skins & Templates',
  82.                   6 => 'Languages',
  83.               );
  84.               
  85. $DESC = array (
  86.                   0 => "Edit forum settings such as cookie paths, security features, posting abilities, etc",
  87.                   1 => "Create, edit, remove and re-order categories, forums and moderators",
  88.                   3 => "Edit, register, remove and ban members. Set up member titles and ranks. Manage User Groups and moderated registrations",
  89.                   4 => "Manage Help Files, Bad Word Filters and Emoticons",
  90.                   5 => "Manage templates, skins, colours and images.",
  91.                   6 => "Manage language sets",
  92.               );
  93.               
  94.               
  95. ?>